import {baseAjax} from '../baseAjax'

export function deleteMaterial (id, successHandle, failHandle) {
  let _url = '/ent/customer/material/' + id
  baseAjax(_url, {}, 'delete', successHandle, failHandle)
}

export function uploadMaterial (data, successHandle, failHandle) {
  baseAjax('/ent/customer/material/save', data, 'post', successHandle, failHandle)
}
